package hgx.spring.cloud.lession.productrepertory.vo;/**
 * Created by liujun on 2018/3/26.
 */

import java.io.Serializable;

/**
 * @author Administrator
 * @create 2018-03-26 10:56
 */
public class ProductVo implements Serializable {
    private static final long serialVersionUID = 3139181209212669482L;

    private Long id;
    private String name;
    private Float price;
    private Integer num;

    /**
     * 商品ID
     * @return
     */
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 商品名称
     * @return
     */
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    /**
     * 价格
     * @return
     */
    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    /**
     * 库存数量
     * @return
     */
    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }
}
